import battlegui.*;

/**
 * The project "Strijd der Galliers" is a game where you need to burn down every house of the other
 * player. 
 *
 *The class Player allows you to create a player with his name and his ID (player 1 or 2).
 * 
 * @author Jonathan Smet & Mathieu Reymond
 * @version 12.03.11
 */
public class Player
{
    private String name;
    private PlayerID myID;
    /**
     * Make a class Player.
     * 
     * @param String The name of the player
     * @param PlayerID The ID of the player
     */
    public Player(String name, PlayerID myPlayerID)
    {
        this.name = name;
        myID = myPlayerID;
    }

    /**
     * Gives the name of the player.
     * 
     * @return  String player's name. 
     */
    public String getName()
    {
        return name;
    }
    
    /**
     * Gives the ID of the player.
     * 
     * @return String the player's ID.
     */
    public PlayerID getID()
    {

        return myID;
    }
    

    }

